package com.kang.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.kang.bean.blog.Article;
import org.springframework.data.domain.Pageable;

import javax.servlet.http.HttpServletRequest;

/**
 * @program: service
 * @description: 文章服务类
 * @author: K.faWu
 * @create: 2022-04-20 16:44
 **/

public interface ArticleService extends IService<Article> {

    void saveArticle(Article article, HttpServletRequest request);

    PageInfo<Article> queryByPage(Article article, Pageable page);
}
